<?php
$di -> setShared('db', function () {
    return new \Phalcon\Db\Adapter\Pdo\Mysql([
		'host'     => '127.0.0.1',
		'username' => 'root',
		'password' => 'root',
		'dbname'   => '2018041901wf',
		'charset'  => 'utf8'
	]);
});